<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Customer extends Model
{
    protected $table = 'customers';

    public function shopCar()
    {
        return $this->hasMany('App\Models\ShopCar', 'user_id', 'id');
    }

    public function orders()
    {
        return $this->hasMany('App\Models\Orders', 'user_id', 'id');
    }
}
